<?php 
include("common/header.php");
include("Controller/sub.php");
?>
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>e网批发管理后台</title>
	<link href="css/styles.css" rel="stylesheet" type="text/css" />
	<link href="css/sub.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div class="alert_div_edit">
  <div class="alert_title">
    修改账号
  </div> 
  <div class="alert_line"></div>
  <div class="alert_body" style="height: 45%;">
    <form id="alert_form" action="sub.php?action=update" method="post">
      <label>账号:</label><input type="text" class="text" name="edit_sub_name" value="<?php echo $res['sub_name']; ?>">
      <label>密码:</label><input type="text" class="text" name="edit_password" value="<?php echo $res['password']; ?>"><span style="color: red">请输入6位数密码</span><br>
      <input type="hidden" name="id" value="<?php echo $res['id']; ?>">
      <input type="submit" name="submit">
    </form>
  </div>
  <div class="alert_foot">

  </div>
</div>

</body>
</html>

